package com.lkz.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders extends BaseEntity  {


    @TableId(value = "orders_id", type = IdType.AUTO)
    private Integer ordersId;
    private Integer businessId;
    private BigDecimal totalPrice;
    private Integer customerId;
    @TableField(exist = false)
    private List<Business> businesses;
    @TableField(exist = false)
    private List<Customer> customers;


}
